﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="yhlx_Add.aspx.cs" Inherits="sauyou.Admin.yhlx_Add" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>添加栏目</title>
    <link rel="stylesheet" type="text/css" href="images/style.css" />

    <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>

    <script type="text/javascript" src="../js/messages_cn.js"></script>

    <script type="text/javascript" src="js/function.js"></script>

    <script type="text/javascript">
        $(function() {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function(label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });
    </script>

</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="back"><a href="yhlx_List.aspx">返回列表</a></span><b>您当前的位置：首页 &gt; 用户类型管理
            &gt; 增加用户类型</b>
    </div>
    <div class="spClear">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">
                添加用户类型
            </th>
        </tr>
        <tr>
            <td width="25%" align="right">
                类型名称：
            </td>
            <td width="75%">
                <asp:TextBox ID="name" runat="server" CssClass="input required" size="30" MaxLength="50"
                    HintTitle="类型名称" HintInfo="请填写该类型的名称，至少1个字符，小于50个字符。"></asp:TextBox>
            </td>
        </tr>        
        <tr>
            <td width="25%" align="right">
                优先级别：
            </td>
            <td width="75%">
                <asp:TextBox ID="sortid" CssClass="input required number" size="10" runat="server"
                    MaxLength="9" HintTitle="类别分类优先级别" HintInfo="纯数字，数字越少越向前。"></asp:TextBox>
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />        
        <input type="reset" name="button" id="btnReset" value="重 置" class="submit" />
    </div>
    </form>
</body>
</html>
